package com.zgm.ch06.aop.aspectJ.pointCut._2_1;
 
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.zgm.ch06.aop.aspectJ.annotation._1.TestBean;

public class LoggingAspectDemo {

	public static void main(String[] args) {
		ApplicationContext ac = new ClassPathXmlApplicationContext("com/zgm/ch06/aop/aspectJ/pointCut/_2_1/_2_1-context.xml");////
		
		TestBean testBean = (TestBean) ac.getBean("testBean");
		testBean.work();
		testBean.stop();
	}
}
